package cn.blossoming.service.user;

import cn.blossoming.dao.domain.UserEntity;
import cn.blossoming.service.base.BaseService;
import cn.blossoming.service.dto.User;

import java.util.List;

public interface UserService extends BaseService<UserEntity,Integer> {

    User getUserByPhone(String phone);

    List<User> findFans(int page, int prePage);

    List<User> findFollow(int page, int prePage);

    User getUserById(int id);

    void addFollowUser(int id);

    void delFollowUser(int id);
}
